<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<html>
  <head> 
  <title>我的首页 微博-随时随地发现新鲜事</title>
  <style type="text/css">
  <!--a:link { text-decoration: none;}a:visited { text-decoration: none;}a:hover { text-decoration: none;}a:active { text-decoration: none;}-->
  </style>
  </head>
  <body style="background-color:#FFFFE1">

      <div align="center">
        
        <table class="style1" width="1280" height="1024" 
            style="background-image: url('../img/yeaf.jpg'); background-repeat: no-repeat"
            align="center">
            <tr>
                <td align="center" style="font-family: 楷体; font-size: large;height:100px;" width="34%" 
                    colspan="3">
                                   
                    
                    ${ user }</td>
            </tr>
            <tr>
                <td align="center" style="font-family: 楷体; font-size: large;height:100px;" width="30%">
                    <a href="myindexaction?me=${ user }" class="linka">我的主页</a></td>
                <td align="center"style="font-family: 楷体; font-size:  large;height:100px;" width="31%">
                    <a href="upfile.jsp" class="linka">我的相册</a></td>
                <td align="center"style="font-family: 楷体; font-size:  large;height:100px;" width="41%">
                   <a href="selectfriendaction?me=${ user }" class="linka">管理中心</a></td>
            </tr>
            <tr>
            	<td rowspan="2" valign="top">
                    <table align="left" class="style2" style="font-family: 楷体; font-size: medium">
                    	<tr>	
                    		<td style="height:200px;"></td>
                    	</tr>
                        <tr>
                            <td>
                               <a href="selectallfriendaction?me=${user}&user=${username}" class="linka">关注</a><br><br><br></td>
                        </tr>
                        <tr>
                            <td>
                                <a href="selectallweiboaction?me=${ user }" class="linka">好友动态</a><br><br><br></td>
                        </tr>
                        <tr>
                            <td>
                    <a href="formel.jsp" class="linka">编辑个人资料</a><br><br><br></td>
                        </tr>
                        <tr>
                            <td>
                                <a href="lookuserinfoaction?me=${ user }" class="linka">查询个人信息</a><br><br><br></td>
                        </tr>
                        <tr>
                            <td>
                                 <a href="selectuserinfoaction?me=${ user }" class="linka">修改个人资料</a></td>
                        </tr>
                    </table>
                </td>
            	<td colspan="2" style="height:130px;"></td>
            </tr>
            <tr>      
                <td colspan="2" valign="top">
                <s:form action="pwbaction" method="post">	
     			<input type="hidden" name="username" value="${ user }">
    			<s:textarea name="neirong" rows="5" cols="90"></s:textarea>
    			<s:submit value="发表"></s:submit>
    			</s:form>
    	    
	
						<table  width="100%" cellspacing="0" cellpadding="0">
					<s:iterator value="#request.pwb">
					<s:form action="deletewbaction" method="post">
						<tr>		
							<td width="60%" style="font-family: 楷体; font-size: large">发表内容:</td>
							<td width="25%" style="font-family: 楷体; font-size: large">发表时间</td>
							<td width="15%" style="font-family: 楷体; font-size: large"></td>
						</tr>
						
								<tr>											
									<td width="60%" style="font-family: 楷体; font-size: medium">
										<s:property value="neirong" />
									</td>
									<td width="25%" style="font-family: 楷体; font-size: medium">
										<s:date name="time" format="yyyy-MM-dd HH:mm:ss"/>
									</td>					
									<td width="15%">	
									</td>
								</tr>
								<tr>
									<td width="75%">	
									</td>
									<td width="35%">
										<s:submit value="删除"/>		
									</td>
								</tr>
								<s:hidden name="neirong"></s:hidden>	
								</s:form>
									</s:iterator>	
					</table>
				
			
		
    			
   				 <hr color="#FAFAFA"/>
                    </td>
            </tr>
            <tr>
                <td style="font-family: 楷体; font-size: medium" colspan="3">
                    &nbsp;</td>
            </tr>
        </table>
        
    </div>
    <div style="background:#ffffe1;text-align:center; ">Copyright &copy;  WEIBO 广西民族师范学院  计本122 周洁<a href="exitaction" class="linka" >退出系统</a></div>
             
  </body>
  </html>